import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class CreateTagDto {
  @ApiProperty({ description: '标签名' })
  @IsNotEmpty({ message: '标签名必填' })
  readonly name: string;
}
